package com.dev.springBootDemo.generics3;

/**
 * @author zhumq
 * @date 2024/7/7 13:14
 */
public class TestGenerics {
    public static void main(String[] args) {
        Interface<String> i = new InterfaceImpl<>();
        System.out.println(i.show("hello")); // hello
        Interface<Integer> i2 = new InterfaceImpl<>();
        System.out.println(i2.show(1)); // 1
    }
}
